<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>OpenMesh: OpenMesh::Utils::Timer Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="logo_align.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="rwth_vci_rgb.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">OpenMesh
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('a03093.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="a03090.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">OpenMesh::Utils::Timer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="a03093.html" title="Timer class. ">Timer</a> class.  
 <a href="a03093.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="a00758_source.html">OpenMesh/Tools/Utils/Timer.hh</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a129372ccc43d66a01dd92e635b8419fd"><td class="memItemLeft" align="right" valign="top"><a id="a129372ccc43d66a01dd92e635b8419fd"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a129372ccc43d66a01dd92e635b8419fd">Format</a> { <br />
&#160;&#160;<b>Automatic</b>, 
<b>Long</b>, 
<b>Hours</b>, 
<b>Minutes</b>, 
<br />
&#160;&#160;<b>Seconds</b>, 
<b>HSeconds</b>, 
<b>MSeconds</b>, 
<b>MicroSeconds</b>, 
<br />
&#160;&#160;<b>NanoSeconds</b>
<br />
 }<tr class="memdesc:a129372ccc43d66a01dd92e635b8419fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Formatting options for member <a class="el" href="a03093.html#ab44e5c7c811608d5bb1b1c2ed01537f4" title="Returns the measured time as a string. ">Timer::as_string()</a> <br /></td></tr>
</td></tr>
<tr class="separator:a129372ccc43d66a01dd92e635b8419fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a766990ebe73575be3fdd59f92ca8708b"><td class="memItemLeft" align="right" valign="top"><a id="a766990ebe73575be3fdd59f92ca8708b"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Timer</b> (const <a class="el" href="a03093.html">Timer</a> &amp;_other)=delete</td></tr>
<tr class="separator:a766990ebe73575be3fdd59f92ca8708b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8b607f35d3ceef4a0ceff2bc0399035"><td class="memItemLeft" align="right" valign="top"><a id="ae8b607f35d3ceef4a0ceff2bc0399035"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#ae8b607f35d3ceef4a0ceff2bc0399035">is_valid</a> () const</td></tr>
<tr class="memdesc:ae8b607f35d3ceef4a0ceff2bc0399035"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if self is in a valid state! <br /></td></tr>
<tr class="separator:ae8b607f35d3ceef4a0ceff2bc0399035"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c9ea497a5f5390880ac9dbaca09a654"><td class="memItemLeft" align="right" valign="top"><a id="a2c9ea497a5f5390880ac9dbaca09a654"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>is_stopped</b> () const</td></tr>
<tr class="separator:a2c9ea497a5f5390880ac9dbaca09a654"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a174c57407878fc5bed802ffdeed1afd5"><td class="memItemLeft" align="right" valign="top"><a id="a174c57407878fc5bed802ffdeed1afd5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a174c57407878fc5bed802ffdeed1afd5">reset</a> (void)</td></tr>
<tr class="memdesc:a174c57407878fc5bed802ffdeed1afd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the timer. <br /></td></tr>
<tr class="separator:a174c57407878fc5bed802ffdeed1afd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf99f0a73fa4dd9f7cc9a4f132960c99"><td class="memItemLeft" align="right" valign="top"><a id="adf99f0a73fa4dd9f7cc9a4f132960c99"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#adf99f0a73fa4dd9f7cc9a4f132960c99">start</a> (void)</td></tr>
<tr class="memdesc:adf99f0a73fa4dd9f7cc9a4f132960c99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Start measurement. <br /></td></tr>
<tr class="separator:adf99f0a73fa4dd9f7cc9a4f132960c99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43e848664e0f2d1a8277c9b82b406ba1"><td class="memItemLeft" align="right" valign="top"><a id="a43e848664e0f2d1a8277c9b82b406ba1"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a43e848664e0f2d1a8277c9b82b406ba1">stop</a> (void)</td></tr>
<tr class="memdesc:a43e848664e0f2d1a8277c9b82b406ba1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop measurement. <br /></td></tr>
<tr class="separator:a43e848664e0f2d1a8277c9b82b406ba1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ccf2b49df363bde2d0b9ee252360834"><td class="memItemLeft" align="right" valign="top"><a id="a3ccf2b49df363bde2d0b9ee252360834"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a3ccf2b49df363bde2d0b9ee252360834">cont</a> (void)</td></tr>
<tr class="memdesc:a3ccf2b49df363bde2d0b9ee252360834"><td class="mdescLeft">&#160;</td><td class="mdescRight">Continue measurement. <br /></td></tr>
<tr class="separator:a3ccf2b49df363bde2d0b9ee252360834"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d62c17971cdddb8a7971fa132db247a"><td class="memItemLeft" align="right" valign="top"><a id="a9d62c17971cdddb8a7971fa132db247a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a9d62c17971cdddb8a7971fa132db247a">resolution</a> () const</td></tr>
<tr class="memdesc:a9d62c17971cdddb8a7971fa132db247a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Give resolution of timer. Depends on the underlying measurement method. <br /></td></tr>
<tr class="separator:a9d62c17971cdddb8a7971fa132db247a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9b786d00041ac67cb23a5a83e2c21b7"><td class="memItemLeft" align="right" valign="top"><a id="aa9b786d00041ac67cb23a5a83e2c21b7"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#aa9b786d00041ac67cb23a5a83e2c21b7">seconds</a> (void) const</td></tr>
<tr class="memdesc:aa9b786d00041ac67cb23a5a83e2c21b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns measured time in seconds, if the timer is in state 'Stopped'. <br /></td></tr>
<tr class="separator:aa9b786d00041ac67cb23a5a83e2c21b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11a1d5fa9c8f1386775767d03f090539"><td class="memItemLeft" align="right" valign="top"><a id="a11a1d5fa9c8f1386775767d03f090539"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a11a1d5fa9c8f1386775767d03f090539">hseconds</a> (void) const</td></tr>
<tr class="memdesc:a11a1d5fa9c8f1386775767d03f090539"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns measured time in hundredth seconds, if the timer is in state 'Stopped'. <br /></td></tr>
<tr class="separator:a11a1d5fa9c8f1386775767d03f090539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2760082a4cbc4c29a5d4f85c98aa75fb"><td class="memItemLeft" align="right" valign="top"><a id="a2760082a4cbc4c29a5d4f85c98aa75fb"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a2760082a4cbc4c29a5d4f85c98aa75fb">mseconds</a> (void) const</td></tr>
<tr class="memdesc:a2760082a4cbc4c29a5d4f85c98aa75fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns measured time in milli seconds, if the timer is in state 'Stopped'. <br /></td></tr>
<tr class="separator:a2760082a4cbc4c29a5d4f85c98aa75fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6df963de62f906eefd4c15e2a7041f7c"><td class="memItemLeft" align="right" valign="top"><a id="a6df963de62f906eefd4c15e2a7041f7c"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a6df963de62f906eefd4c15e2a7041f7c">useconds</a> (void) const</td></tr>
<tr class="memdesc:a6df963de62f906eefd4c15e2a7041f7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns measured time in micro seconds, if the timer is in state 'Stopped'. <br /></td></tr>
<tr class="separator:a6df963de62f906eefd4c15e2a7041f7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab44e5c7c811608d5bb1b1c2ed01537f4"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#ab44e5c7c811608d5bb1b1c2ed01537f4">as_string</a> (<a class="el" href="a03093.html#a129372ccc43d66a01dd92e635b8419fd">Format</a> format=Automatic)</td></tr>
<tr class="memdesc:ab44e5c7c811608d5bb1b1c2ed01537f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the measured time as a string.  <a href="#ab44e5c7c811608d5bb1b1c2ed01537f4">More...</a><br /></td></tr>
<tr class="separator:ab44e5c7c811608d5bb1b1c2ed01537f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:ae7043efd162d4b4bdceec184ca085139"><td class="memItemLeft" align="right" valign="top"><a id="ae7043efd162d4b4bdceec184ca085139"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#ae7043efd162d4b4bdceec184ca085139">operator&lt;</a> (const <a class="el" href="a03093.html">Timer</a> &amp;t2) const</td></tr>
<tr class="memdesc:ae7043efd162d4b4bdceec184ca085139"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare timer values. <br /></td></tr>
<tr class="separator:ae7043efd162d4b4bdceec184ca085139"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad26be405b7df91ff476782ccedeeff57"><td class="memItemLeft" align="right" valign="top"><a id="ad26be405b7df91ff476782ccedeeff57"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#ad26be405b7df91ff476782ccedeeff57">operator&gt;</a> (const <a class="el" href="a03093.html">Timer</a> &amp;t2) const</td></tr>
<tr class="memdesc:ad26be405b7df91ff476782ccedeeff57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare timer values. <br /></td></tr>
<tr class="separator:ad26be405b7df91ff476782ccedeeff57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad16b3068ad751218beb18c067b45fbaf"><td class="memItemLeft" align="right" valign="top"><a id="ad16b3068ad751218beb18c067b45fbaf"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#ad16b3068ad751218beb18c067b45fbaf">operator==</a> (const <a class="el" href="a03093.html">Timer</a> &amp;t2) const</td></tr>
<tr class="memdesc:ad16b3068ad751218beb18c067b45fbaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare timer values. <br /></td></tr>
<tr class="separator:ad16b3068ad751218beb18c067b45fbaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec7d0e017944ac9d69ca3dd0a955e797"><td class="memItemLeft" align="right" valign="top"><a id="aec7d0e017944ac9d69ca3dd0a955e797"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#aec7d0e017944ac9d69ca3dd0a955e797">operator&lt;=</a> (const <a class="el" href="a03093.html">Timer</a> &amp;t2) const</td></tr>
<tr class="memdesc:aec7d0e017944ac9d69ca3dd0a955e797"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare timer values. <br /></td></tr>
<tr class="separator:aec7d0e017944ac9d69ca3dd0a955e797"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4624056cf57b06b37aa90afbc49e7e3c"><td class="memItemLeft" align="right" valign="top"><a id="a4624056cf57b06b37aa90afbc49e7e3c"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a4624056cf57b06b37aa90afbc49e7e3c">operator&gt;=</a> (const <a class="el" href="a03093.html">Timer</a> &amp;t2) const</td></tr>
<tr class="memdesc:a4624056cf57b06b37aa90afbc49e7e3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compare timer values. <br /></td></tr>
<tr class="separator:a4624056cf57b06b37aa90afbc49e7e3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a2c8f0e06e5011eab302725e64da1e913"><td class="memItemLeft" align="right" valign="top">static std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a2c8f0e06e5011eab302725e64da1e913">as_string</a> (double <a class="el" href="a03093.html#aa9b786d00041ac67cb23a5a83e2c21b7">seconds</a>, <a class="el" href="a03093.html#a129372ccc43d66a01dd92e635b8419fd">Format</a> format=Automatic)</td></tr>
<tr class="memdesc:a2c8f0e06e5011eab302725e64da1e913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a given measured time as a string.  <a href="#a2c8f0e06e5011eab302725e64da1e913">More...</a><br /></td></tr>
<tr class="separator:a2c8f0e06e5011eab302725e64da1e913"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:a38ced8bcd5c2f02247577ac9ba6fcbfa"><td class="memItemLeft" align="right" valign="top"><a id="a38ced8bcd5c2f02247577ac9ba6fcbfa"></a>enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>Invalid</b> = -1, 
<b>Stopped</b> = 0, 
<b>Running</b> = 1
 }</td></tr>
<tr class="separator:a38ced8bcd5c2f02247577ac9ba6fcbfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:aa54775d02c0973d5793683801ad9418f"><td class="memItemLeft" align="right" valign="top"><a id="aa54775d02c0973d5793683801ad9418f"></a>
TimerImpl *&#160;</td><td class="memItemRight" valign="bottom"><b>impl_</b></td></tr>
<tr class="separator:aa54775d02c0973d5793683801ad9418f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f17747d0c277320b4f7465d504bcf2b"><td class="memItemLeft" align="right" valign="top"><a id="a5f17747d0c277320b4f7465d504bcf2b"></a>
enum OpenMesh::Utils::Timer:: { ... } &#160;</td><td class="memItemRight" valign="bottom"><b>state_</b></td></tr>
<tr class="separator:a5f17747d0c277320b4f7465d504bcf2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a48f6b3535fcd618dc0ffb43b6ebe6a01"><td class="memItemLeft" align="right" valign="top">std::ostream &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a03093.html#a48f6b3535fcd618dc0ffb43b6ebe6a01">operator&lt;&lt;</a> (std::ostream &amp;_o, const <a class="el" href="a03093.html">Timer</a> &amp;_t)</td></tr>
<tr class="memdesc:a48f6b3535fcd618dc0ffb43b6ebe6a01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write seconds to output stream.  <a href="#a48f6b3535fcd618dc0ffb43b6ebe6a01">More...</a><br /></td></tr>
<tr class="separator:a48f6b3535fcd618dc0ffb43b6ebe6a01"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="a03093.html" title="Timer class. ">Timer</a> class. </p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="ab44e5c7c811608d5bb1b1c2ed01537f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab44e5c7c811608d5bb1b1c2ed01537f4">&#9670;&nbsp;</a></span>as_string() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string OpenMesh::Utils::Timer::as_string </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a03093.html#a129372ccc43d66a01dd92e635b8419fd">Format</a>&#160;</td>
          <td class="paramname"><em>format</em> = <code>Automatic</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the measured time as a string. </p>
<p>Use the format flags to specify a wanted resolution. </p>

</div>
</div>
<a id="a2c8f0e06e5011eab302725e64da1e913"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2c8f0e06e5011eab302725e64da1e913">&#9670;&nbsp;</a></span>as_string() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static std::string OpenMesh::Utils::Timer::as_string </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>seconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="a03093.html#a129372ccc43d66a01dd92e635b8419fd">Format</a>&#160;</td>
          <td class="paramname"><em>format</em> = <code>Automatic</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a given measured time as a string. </p>
<p>Use the format flags to specify a wanted resolution. </p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a48f6b3535fcd618dc0ffb43b6ebe6a01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a48f6b3535fcd618dc0ffb43b6ebe6a01">&#9670;&nbsp;</a></span>operator<<()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::ostream &amp; operator&lt;&lt; </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>_o</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="a03093.html">Timer</a> &amp;&#160;</td>
          <td class="paramname"><em>_t</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Write seconds to output stream. </p>
<p><a class="el" href="a03093.html" title="Timer class. ">Timer</a> must be stopped before. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>OpenMesh/Tools/Utils/<a class="el" href="a00758_source.html">Timer.hh</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<hr>
<address>
<small>
<a href="http://www.rwth-graphics.de" style="text-decoration:none;">
</a>
Project <b>OpenMesh</b>, 
&copy;&nbsp; Computer Graphics Group, RWTH Aachen.
Documentation generated using 
<a class="el" href="http://www.doxygen.org/index.html">
<b>doxygen</b>
</a>.
</small>
</address>
</body>
</html>
